import './global';
import Vue from 'vue';
import iView from 'iview';
import { router } from './router/index';
import store from './store';
import App from './app.vue';
import i18n from './i18n/index'
import 'iview/dist/styles/iview.css';

Vue.use(iView);
Vue.use(i18n);

new Vue({
	el: '#app',
	router: router,
	store: store,
	render: h => h(App),
	mounted() {
		this.$store.commit('updateMenulist');
	}
});